package homework02;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        RockPaperScissors game = new RockPaperScissors();
        System.out.println("电脑选择了:" + game.getComputerchoice());

        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的选择 (石头, 剪刀, 布):");
        String s = scanner.nextLine();
        System.out.println(game.judge(s));

        scanner.close();
    }
}
